const carData = Array(5).fill(undefined).map((v, i, z) => {
  console.log(z, '++++++++');
  return (
    {
      id: i,
      name: `商品${i}`,
      price: (Math.random() * 100).toFixed(0)
    }
  )
}
)

console.log(carData);